package com.rdgzs.base.utils;

import com.rdgzs.framework.constant.SysConstants;

public class BizConstants extends SysConstants {

    /**
     * 周报表 类型：1：周报 2：周计划
     */
    public static final String WEEKLYANDPLAN_TYPE_WEEKLY = "1";
    public static final String WEEKLYANDPLAN_TYPE_PLAN = "2";

    /**
     * 房产评估
     */
    public static final String FCPG_TYPE_SY = "1";
    public static final String FCPG_TYPE_PT = "2";

    /**
     * 工作票类型 1:工作 2:计划
     */
    public static final String WORK_TICKET_WORK = "1";
    public static final String WORK_TICKET_PLAN = "2";

    /**
     * 工作票分支类型 1:工作计划 2:任务交接
     */
    public static final String WORK_TICKET_BRANCHTYPE_MAKEPLAN = "1";
    public static final String WORK_TICKET_BRANCHTYPE_TRANSITION = "2";

    /**
     * 审批结点1:审批 成功 2：审批失败
     */
    public static final String WORK_TICKET_BRANCHTYPE_INSTRUCTIONSSUCCESS = "1";
    public static final String WORK_TICKET_BRANCHTYPE_INSTRUCTIONSFAILED = "2";

    /**
     * 审批状态1:制作计划中 2：审批成功 3：审批中 4：审批失败 5：已反馈 6:不做计划　7:点评完成 8：执行中 9:反馈不合格打回
     */
    public static final String WORK_TICKET_STATUS_INIT = "1";
    public static final String WORK_TICKET_STATUS_SUCCESS = "2";
    public static final String WORK_TICKET_STATUS_UNDERWAY = "3";
    public static final String WORK_TICKET_STATUS_FAILED = "4";

    public static final String WORK_TICKET_STATUS_FEEDBACK = "5";
    public static final String WORK_TICKET_STATUS_NOPLAN = "6";
    public static final String WORK_TICKET_STATUS_COMPLETE = "7";
    public static final String WORK_TICKET_STATUS_EXECUTE = "8";
    public static final String WORK_TICKET_STATUS_REJECTFEEDBACK = "9";

    /**
     * 工作票分支类型 (保存时):1:保存 2：下发 3：退回
     */
    public static final String SAVE_BRANCHTYPE_SAVE = "1";
    public static final String SAVE_BRANCHTYPE_DOWN = "2";
    public static final String SAVE_BRANCHTYPE_FEEDBACK = "3";

    public static final String GZPXF_BRANCHTYPE_SAVE = "1"; // 工作票保存
    public static final String GZPXF_BRANCHTYPE_SAVEANDSEND = "2"; // 工作票保存并下发
    public static final String GZPXF_BRANCHTYPE_SEND = "3"; // 工作票下发

    /**
     * 任务所处状态
     */
    public static final String TASK_STATUS_INIT = "1";
    public static final String TASK_STATUS_SEND = "2";

    /**
     * 审批状态
     */
    public static final String APPROVAL_PASS = "1";
    public static final String APPROVAL_FAIL = "0";

    /**
     * 工作流流程定义名
     */
    public static final String WORKFLOW_NAME_GZP = "工作票";
    public static final String WORKFLOW_NAME_GZPXF = "工作票下发";
    public static final String WORKFLOW_NAME_YQSQ = "延期申请";
    public static final String WORKFLOW_NAME_RWJJ = "任务交接";

    /**
     * 任务交接成功
     */
    public static final String TRANSITION_STATUS_SUCCESS = "1";

    /**
     * 角色
     */
    public static final String ROLE_EMPLOYEE = "员工";

    /**
     * 反馈类别 1:反馈　2:
     */
    public static final String FEEDBACK_TYPE_FEEDBACK = "1";
    public static final String FEEDBACK_TYPE_REPLY = "2";

    /**
     * 部门级次
     */
    public static final String ORG_LEVEL_ROOT = "1";

    /**
     * 0:禁用状态　１：在库　２：审请借书　３：借出　４：丢失
     */
    public static final String BOOK_STATUS_DISABLED = "0";
    public static final String BOOK_STATUS_INLAD = "1";
    public static final String BOOK_STATUS_APPLY = "2";
    public static final String BOOK_STATUS_LEND = "3";
    public static final String BOOK_STATUS_LOST = "4";

    /**
     * 操作动作 1:图书库管理　2:员工图书库查询　 3:借书审批
     */
    public static final String BOOK_OPTTYPE_BOOKMGR = "1";
    public static final String BOOK_OPTTYPE_EMPBOOKSEARCH = "2";
    public static final String BOOK_OPTTYPE_LEND = "3";

    /**
     * 操作动作 1:图书库管理　2:员工图书库查询　 3:借书审批
     */
    public static final String STATISTICAL_TYPE_MONTH = "1";
    public static final String STATISTICAL_TYPE_YEAR = "2";

}
